package com.nefu.editor.core.mapper.provider;

import com.nefu.editor.core.model.User;
import com.nefu.editor.core.model.WordCloud;
import org.apache.ibatis.jdbc.SQL;

/**
 * @author chenchenT
 * @date : 18-11-13
 * @since : java 8
 */
public class WordCloudProvider {

    public String selectWordCloud(WordCloud wordCloud) {
        return new SQL() {
            {
                SELECT("wordCloud_systemId As systemId, wordCloud_keyWord as keyWord");
                FROM("t_wordcloud");
                WHERE("wordCloud_systemId=#{systemId}");
            }
        }.toString();
    }


}
